#pragma once

#define STRINGIFY(x) #x

#ifdef STATIC_FLAGS
#define XXX_API
#else

#ifndef __CLIENT
#define XXX_API __declspec(dllexport)
#else
#define XXX_API __declspec(dllimport)
#endif
#endif

// using c extern export
// extern "C"
// {
// 	__declspec(dllexport) int functionInDLL(const char *p)
// 	{
// 		return 0;
// 	}
// }

// in c sharp
/*
		[DllImport("HelloCpp.dll", CharSet = CharSet.Unicode)]
		public static extern int functionInDLL(String s);
*/